/**
@author		Jong Min, Lee
@date		  02/05/2014
@brief		viewer logger

copyright(c) Tae Young Soft. All right reserved. 2014
*/
#pragma once

#include "dcmtk/oflog/oflog.h"

#include "Taurus_Viewer/Defines.h"

//global definitions for logging mechanism provided by the dcmtk oflog module
extern TAURUS_VIEWER_EXPORT OFLogger TAURUS_viewerLogger;

#define TAURUS_VIEWER_TRACE(msg) OFLOG_TRACE(TAURUS_viewerLogger, msg)
#define TAURUS_VIEWER_DEBUG(msg) OFLOG_DEBUG(TAURUS_viewerLogger, msg)
#define TAURUS_VIEWER_INFO(msg) OFLOG_INFO(TAURUS_viewerLogger, msg)
#define TAURUS_VIEWER_WARN(msg) OFLOG_WARN(TAURUS_viewerLogger, msg)
#define TAURUS_VIEWER_ERROR(msg) OFLOG_ERROR(TAURUS_viewerLogger, msg)
#define TAURUS_VIEWER_FATAL(msg) OFLOG_FATAL(TAURUS_viewerLogger, msg)
